package cn.edu.fzu.homemaking.company.service;

import cn.edu.fzu.homemaking.company.domain.entity.CompanyServer;
import cn.edu.fzu.homemaking.company.domain.enums.ServerStatusEnum;
import cn.edu.fzu.homemaking.company.domain.enums.ServerPriceModeEnum;

import java.util.List;

/**
 * @author wanjie
 * @version 1.0
 */
public interface CompanyServerService {
    //查询所有的服务
    List<CompanyServer> queryAllCompanyServers(Long companyId, Long labelId, String name,
                                               ServerPriceModeEnum chargeMode, ServerStatusEnum status);


    CompanyServer getById(Long id);


    //服务新增
    void insertCompanyServer(Long companyId, Long labelId, String name, ServerPriceModeEnum chargeMode, Double price,
                                ServerStatusEnum status);


    //服务状态修改
    void updateCompanyServerStatus(Long id, ServerStatusEnum status);


    //服务信息修改
    void updateCompanyServer(Long id, Long labelId, String name,
                                ServerPriceModeEnum chargeMode, Double price,
                                ServerStatusEnum status);


    //服务项目删除
    void deleteCompanyServer(Long id);
}
